package design_pattern.factory.reflectFactory;

/**
 * @version 1.0.0
 * Created by cyd on 2022-06-06 14:56:42
 * @ClassName : design_pattern.factory.simpleFactory.Operation
 * @Description : 工厂生产的产品的抽象
 */
public abstract class Operation {
    protected int numberA;
    protected int numberB;

    public int getNumberA() {
        return numberA;
    }

    public void setNumberA(int numberA) {
        this.numberA = numberA;
    }

    public int getNumberB() {
        return numberB;
    }

    public void setNumberB(int numberB) {
        this.numberB = numberB;
    }

    public abstract int operate();
}
